package com.ruoyi.service;

import com.ruoyi.domain.DsVehicleownerinfo;

import java.util.List;

/**
 * 车辆充卡Service接口
 * 
 * @author ruoyi
 * @date 2024-05-24
 */
public interface IDsVehicleownerinfoService 
{
    /**
     * 查询车辆充卡
     * 
     * @param userId 车辆充卡主键
     * @return 车辆充卡
     */
    public DsVehicleownerinfo selectDsVehicleownerinfoByUserId(Long userId);

    /**
     * 查询车辆充卡列表
     * 
     * @param dsVehicleownerinfo 车辆充卡
     * @return 车辆充卡集合
     */
    public List<DsVehicleownerinfo> selectDsVehicleownerinfoList(DsVehicleownerinfo dsVehicleownerinfo);

    /**
     * 新增车辆充卡
     * 
     * @param dsVehicleownerinfo 车辆充卡
     * @return 结果
     */
    public int insertDsVehicleownerinfo(DsVehicleownerinfo dsVehicleownerinfo);

    /**
     * 修改车辆充卡
     * 
     * @param dsVehicleownerinfo 车辆充卡
     * @return 结果
     */
    public int updateDsVehicleownerinfo(DsVehicleownerinfo dsVehicleownerinfo);

    /**
     * 批量删除车辆充卡
     * 
     * @param userIds 需要删除的车辆充卡主键集合
     * @return 结果
     */
    public int deleteDsVehicleownerinfoByUserIds(Long[] userIds);

    /**
     * 删除车辆充卡信息
     * 
     * @param userId 车辆充卡主键
     * @return 结果
     */
    public int deleteDsVehicleownerinfoByUserId(Long userId);
}
